import qs from 'qs';
import { network } from '@/utils';

import { recharge } from '../../../../config/Apis';

export async function queryRechargeList(params: any) {
  return network.get(recharge.recharge_statistics, { params });
}

export async function exportExcel(params: any) {
   window.location.href = `${recharge.recharge_statistics_export}?${qs.stringify(params)}`;
}
